package cn.com.pansky.service;

import net.vsame.url2sql.action.BaseAction;
import net.vsame.url2sql.helper.SqlHelper;
import net.vsame.url2sql.sql.Model;

public class CertificationService extends BaseAction {

	public Boolean isCertification(String userid) {

		String sql = "SELECT * from rc10 WHERE aa001 = ? AND aa111 = '0'";
		Model m = (Model) SqlHelper.queryOne(sql, userid);
		Boolean retVal = true;
		if (m != null) {
			retVal = false;
		}
		return retVal;
	}

	public static void main(String[] args) {
		
	}
}
